﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("OrderInfoDetail", "OrderInfoDetail", new string[] { "SHEETID" })]
    [KnownType(typeof(OrderInfoDetail))]
    public class OrderInfoDetail: MB.Orm.Common.BaseModel
    {
        public OrderInfoDetail()
        {

        }
        private String _SHEETID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SHEETID", System.Data.DbType.String)]
        public String SHEETID { get { return _SHEETID; } set { _SHEETID = value; } }
        private int _SEQNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SEQNO", System.Data.DbType.Int32)]
        public int SEQNO { get { return _SEQNO; } set { _SEQNO = value; } }
        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID { get { return _GOODSID; } set { _GOODSID = value; } }
        private Decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public Decimal QTY { get { return _QTY; } set { _QTY = value; } }
        private Decimal _REALQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REALQTY", System.Data.DbType.Decimal)]
        public Decimal REALQTY { get { return _REALQTY; } set { _REALQTY = value; } }
        private Decimal _COST;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("COST", System.Data.DbType.Decimal)]
        public Decimal COST { get { return _COST; } set { _COST = value; } }
        private Decimal _PRICE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PRICE", System.Data.DbType.Decimal)]
        public Decimal PRICE { get { return _PRICE; } set { _PRICE = value; } }
        private Decimal _COSTTAXVALUE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("COSTTAXVALUE", System.Data.DbType.Decimal)]
        public Decimal COSTTAXVALUE { get { return _COSTTAXVALUE; } set { _COSTTAXVALUE = value; } }
        private Decimal _COSTVALUE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("COSTVALUE", System.Data.DbType.Decimal)]
        public Decimal COSTVALUE { get { return _COSTVALUE; } set { _COSTVALUE = value; } }
        private Decimal _SALETAXVALUE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SALETAXVALUE", System.Data.DbType.Decimal)]
        public Decimal SALETAXVALUE { get { return _SALETAXVALUE; } set { _SALETAXVALUE = value; } }
        private Decimal _SALEVALUE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SALEVALUE", System.Data.DbType.Decimal)]
        public Decimal SALEVALUE { get { return _SALEVALUE; } set { _SALEVALUE = value; } }
        private Decimal _DISCVALUE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DISCVALUE", System.Data.DbType.Decimal)]
        public Decimal DISCVALUE { get { return _DISCVALUE; } set { _DISCVALUE = value; } }
        private Decimal _TAXRATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TAXRATE", System.Data.DbType.Decimal)]
        public Decimal TAXRATE { get { return _TAXRATE; } set { _TAXRATE = value; } }
        private int _FARMPRODUCT;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FARMPRODUCT", System.Data.DbType.Int32)]
        public int FARMPRODUCT { get { return _FARMPRODUCT; } set { _FARMPRODUCT = value; } }
        private String _REMARK;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REMARK", System.Data.DbType.String)]
        public String REMARK { get { return _REMARK; } set { _REMARK = value; } }
        private String _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public String GOODSCODE { get { return _GOODSCODE; } set { _GOODSCODE = value; } }
        //订单明细中商品名
        private String _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public String GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } }
        //销售名
        private String _PRODUCTNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PRODUCTNAME", System.Data.DbType.String)]
        public String PRODUCTNAME { get { return _PRODUCTNAME; } set { _PRODUCTNAME = value; } }
        //SKU名
        private String _SKUNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SKUNAME", System.Data.DbType.String)]
        public String SKUNAME { get { return _SKUNAME; } set { _SKUNAME = value; } }

    }
}
